<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/content/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>权限</title>
		<t:resource types="jquery,lhgdialog,easyui" />
	</head>
	<body>
		<ui:form name="menu-form" refreshGrid="permissionList" action="permission.do?saveOrUpdate">
			<div class="form-group">
				<label class="label">权限名称 :</label>
				<input type="hidden" name="id" id="id" value="${permission.id }">
				<input type="hidden" name="parentPermiId" id="parentPermiId" value="${parentMenu.id }">
				<input id="permiName" type="text" name="permiName" value="${permission.permiName }" class="easyui-textbox" data-options="required:true,validType:['length[2,20]']" />
			</div>
			<div class="form-group">
				<label class="label">权限类型 :</label>
				<ui:combobox name="permiType" dictionary="permiType" required="true" setValue="2" readonly="true" />
			</div>
			<div class="form-group">
				<label class="label">权限编码 :</label>
				<input id="permiCode" type="text" name="permiCode" value="${permission.permiCode }" class="easyui-textbox" data-options="required:true,validType:['length[2,50]']" />
			</div>
			<div class="form-group">
				<label class="label">访问URL :</label>
				<input id="permiUrl" type="text" name="permiUrl" value="${permission.permiUrl }" class="easyui-textbox" />
			</div>
		</ui:form>
	</body>
</html>